package com.yanqu.road.entity.log.langyabang;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_c_lang_ya_pvp_log")
public class LogLangYaBangPvp {
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "对方ID")
    private long targetUserId;
    @FieldTypeAnnotation(desc = "是否胜利")
    private int isWin;
    @FieldTypeAnnotation(desc = "对方所有门客")
    private String targetPatrons;
    @FieldTypeAnnotation(desc = "操作对方建筑")
    private String targetBuilding;
    @FieldTypeAnnotation(desc = "自己的门客")
    private String selfPatrons;
    @FieldTypeAnnotation(desc = "自己的建筑")
    private String selfBuilding;
    @FieldTypeAnnotation(desc = "所属的宣战")
    private int declareWarId;
    @FieldTypeAnnotation(desc = "体力加成")
    private int powerAdd;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;
    @FieldTypeAnnotation(desc = "老金币")
    private long oldCoin;
    @FieldTypeAnnotation(desc = "获得金币")
    private long getCoin;
    @FieldTypeAnnotation(desc = "新金币")
    private long newCoin;
    @FieldTypeAnnotation(desc = "获得积分")
    private long getScore;
    @FieldTypeAnnotation(desc = "对方掉积分")
    private long otherLoseScore;
    @FieldTypeAnnotation(desc = "时间")
    private Date time;

    public LogLangYaBangPvp(int activityId, long userId, long targetUserId, int isWin, String targetPatrons, String targetBuilding, String selfPatrons, String selfBuilding, int declareWarId, int powerAdd, String reward, long oldCoin, long getCoin, long newCoin, long getScore, long otherLoseScore, Date time) {
        this.activityId = activityId;
        this.userId = userId;
        this.targetUserId = targetUserId;
        this.isWin = isWin;
        this.targetPatrons = targetPatrons;
        this.targetBuilding = targetBuilding;
        this.selfPatrons = selfPatrons;
        this.selfBuilding = selfBuilding;
        this.declareWarId = declareWarId;
        this.powerAdd = powerAdd;
        this.reward = reward;
        this.oldCoin = oldCoin;
        this.getCoin = getCoin;
        this.newCoin = newCoin;
        this.getScore = getScore;
        this.otherLoseScore = otherLoseScore;
        this.time = time;
    }

    public int getIsWin() {
        return isWin;
    }

    public void setIsWin(int isWin) {
        this.isWin = isWin;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getTargetUserId() {
        return targetUserId;
    }

    public void setTargetUserId(long targetUserId) {
        this.targetUserId = targetUserId;
    }

    public String getTargetPatrons() {
        return targetPatrons;
    }

    public void setTargetPatrons(String targetPatrons) {
        this.targetPatrons = targetPatrons;
    }

    public String getTargetBuilding() {
        return targetBuilding;
    }

    public void setTargetBuilding(String targetBuilding) {
        this.targetBuilding = targetBuilding;
    }

    public String getSelfPatrons() {
        return selfPatrons;
    }

    public void setSelfPatrons(String selfPatrons) {
        this.selfPatrons = selfPatrons;
    }

    public String getSelfBuilding() {
        return selfBuilding;
    }

    public void setSelfBuilding(String selfBuilding) {
        this.selfBuilding = selfBuilding;
    }

    public int getDeclareWarId() {
        return declareWarId;
    }

    public void setDeclareWarId(int declareWarId) {
        this.declareWarId = declareWarId;
    }

    public int getPowerAdd() {
        return powerAdd;
    }

    public void setPowerAdd(int powerAdd) {
        this.powerAdd = powerAdd;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public long getOldCoin() {
        return oldCoin;
    }

    public void setOldCoin(long oldCoin) {
        this.oldCoin = oldCoin;
    }

    public long getGetCoin() {
        return getCoin;
    }

    public void setGetCoin(long getCoin) {
        this.getCoin = getCoin;
    }

    public long getNewCoin() {
        return newCoin;
    }

    public void setNewCoin(long newCoin) {
        this.newCoin = newCoin;
    }

    public long getGetScore() {
        return getScore;
    }

    public void setGetScore(long getScore) {
        this.getScore = getScore;
    }

    public long getOtherLoseScore() {
        return otherLoseScore;
    }

    public void setOtherLoseScore(long otherLoseScore) {
        this.otherLoseScore = otherLoseScore;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
